Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
interface System.​Numerics.​ITrigonometricFunctions<​TSelf>
Assembly: System.Runtime
Implemented Interfaces
- IFloatingPointConstants`1 (Inherits: IEquatable<​TSelf>IFormattableIParsable<​TSelf>ISpanFormattableISpanParsable<​TSelf>IUtf8SpanFormattableIUtf8SpanParsable<​TSelf>IAdditionOperators<​TSelf, TSelf, TSelf>IAdditiveIdentity<​TSelf, TSelf>IDecrementOperators<​TSelf>IDivisionOperators<​TSelf, TSelf, TSelf>IEqualityOperators<​TSelf, TSelf, bool>IIncrementOperators<​TSelf>IMultiplicativeIdentity<​TSelf, TSelf>IMultiplyOperators<​TSelf, TSelf, TSelf>INumberBase<​TSelf>ISubtractionOperators<​TSelf, TSelf, TSelf>IUnaryNegationOperators<​TSelf, TSelf>IUnaryPlusOperators<​TSelf, TSelf>)
Defines support for trigonometric functions.
Methods
static
TSelf
Acos​(TSelf x)
Computes the arc-cosine of a value.
Returns The arc-cosine of <paramref name="x" /> .
x
The value, in radians, whose arc-cosine is to be computed.
static
TSelf
AcosPi​(TSelf x)
Computes the arc-cosine of a value and divides the result by <c>pi</c> .
Returns The arc-cosine of <paramref name="x" /> , divided by <c>pi</c> .
x
The value whose arc-cosine is to be computed.
static
TSelf
Asin​(TSelf x)
Computes the arc-sine of a value.
Returns The arc-sine of <paramref name="x" /> .
x
The value, in radians, whose arc-sine is to be computed.
static
TSelf
AsinPi​(TSelf x)
Computes the arc-sine of a value and divides the result by <c>pi</c> .
Returns The arc-sine of <paramref name="x" /> , divided by <c>pi</c> .
x
The value whose arc-sine is to be computed.
static
TSelf
Atan​(TSelf x)
Computes the arc-tangent of a value.
Returns The arc-tangent of <paramref name="x" /> .
x
The value, in radians, whose arc-tangent is to be computed.
static
TSelf
AtanPi​(TSelf x)
Computes the arc-tangent of a value and divides the result by pi.
Returns The arc-tangent of <paramref name="x" /> , divided by <c>pi</c> .
x
The value whose arc-tangent is to be computed.
static
TSelf
Cos​(TSelf x)
Computes the cosine of a value.
Returns The cosine of <paramref name="x" /> .
x
The value, in radians, whose cosine is to be computed.
static
TSelf
CosPi​(TSelf x)
Computes the cosine of a value that has been multipled by <c>pi</c> .
Returns The cosine of <paramref name="x" /> multiplied-by <c>pi</c> .
x
The value, in half-revolutions, whose cosine is to be computed.
static
TSelf
DegreesToRadians​(TSelf degrees)
Converts a given value from degrees to radians.
Returns The value of <paramref name="degrees" /> converted to radians.
degrees
The value to convert to radians.
static
TSelf
RadiansToDegrees​(TSelf radians)
Converts a given value from radians to degrees.
Returns The value of <paramref name="radians" /> converted to degrees.
radians
The value to convert to degrees.
static
TSelf
Sin​(TSelf x)
Computes the sine of a value.
Returns The sine of <paramref name="x" /> .
x
The value, in radians, whose sine is to be computed.
static
ValueTuple<​TSelf, TSelf>
SinCos​(TSelf x)
Computes the sine and cosine of a value.
Returns The sine and cosine of <paramref name="x" /> .
x
The value, in radians, whose sine and cosine are to be computed.
static
ValueTuple<​TSelf, TSelf>
SinCosPi​(TSelf x)
Computes the sine and cosine of a value that has been multiplied by <c>pi</c> .
Returns The sine and cosine of <paramref name="x" /> multiplied-by <c>pi</c> .
x
The value, in half-revolutions, that is multipled by <c>pi</c> before computing its sine and cosine.
static
TSelf
SinPi​(TSelf x)
Computes the sine of a value that has been multiplied by <c>pi</c> .
Returns The sine of <paramref name="x" /> multiplied-by <c>pi</c> .
x
The value, in half-revolutions, that is multipled by <c>pi</c> before computing its sine.
static
TSelf
Tan​(TSelf x)
Computes the tangent of a value.
Returns The tangent of <paramref name="x" /> .
x
The value, in radians, whose tangent is to be computed.
static
TSelf
TanPi​(TSelf x)
Computes the tangent of a value that has been multipled by <c>pi</c> .
Returns The tangent of <paramref name="x" /> multiplied-by <c>pi</c> .
x
The value, in half-revolutions, that is multipled by <c>pi</c> before computing its tangent.